﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="LadyDeedsList.aspx.cs" Inherits="School.SystemManage.WebPages.Teacher.LadyDeedsList" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
    <link href="../../css/right.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
        function deleteConfirm() {
            return confirm("确定要删除吗？");
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="container">
        <div class="title_bg">
            <div class="floatLeft title_text_div">师资队伍 > 巾帼文明人物</div> 
            <ul class="floatRight">
                <li class="add" id="btnAddItem" runat="server"><a href="../../WebPages/Teacher/LadyDeedsEdit.aspx?action=add">添加</a></li>
                <%--<li><input id="chk_Total" type="checkbox" class="floatLeft" onclick="CheckAll(this,false);" /><span class="checkAll floatLeft">全选</span><div class="clear"></div></li>
                <li class="delete"><asp:LinkButton ID="lbtnDelete" runat="server" 
                        OnClientClick="return HasCheckedRow();" onclick="lbtnDelete_Click">删除</asp:LinkButton></li>--%>
            </ul>
            <div class="clear"></div>
        </div>
        <div>
            <table class="dataTable" cellspacing="0">
                <tr>
                    <th>人物</th>
                    <th>姓名</th>
                    <th>任教学科</th>
                    <th>现任职务</th>
                    <th>职称</th>
                    <th>学历</th>
                    <th>操作</th>
                </tr>
                <asp:Repeater ID="rep_list" runat="server" onitemcommand="rep_list_ItemCommand">
                    <ItemTemplate>
                        <tr>
                            <td>
                                <asp:HiddenField ID="hf" runat="server" Value='<%#Eval("lid") %>' />
                                <img src='<%#Eval("imgPath") %>' height="80" width="50" /></td>
                            <td><%#Eval("name") %></td>
                            <td><%#Eval("rjxe") %></td>
                            <td><%#Eval("xrzw") %></td>
                            <td><%#Eval("zc") %></td>
                            <td><%#Eval("xl") %></td>
                            <td>
                                <span runat="server" id="btnEditContainer"><a href='LadyDeedsEdit.aspx?action=edit&lid=<%#Eval("lid") %>'>编辑</a></span>
                                <asp:LinkButton ID="LinkButton2" runat="server" CommandName="Delete" OnClientClick="return deleteConfirm();">删除</asp:LinkButton>
                            </td>
                        </tr>
                    </ItemTemplate>
                </asp:Repeater>
            </table>
            <webdiyer:AspNetPager runat="server" ID="AspNetPager1" PageSize="10" 
                onpagechanged="AspNetPager1_PageChanged"
                CustomInfoHTML="每页%PageSize%条，%CurrentPageIndex%/%PageCount%页" 
                FirstPageText="首页" LastPageText="尾页" NextPageText="下一页" PrevPageText="上一页" 
                ShowCustomInfoSection="Left" SubmitButtonText="Go" TextAfterPageIndexBox="页"  
                CustomInfoClass="customInfo" CustomInfoSectionWidth="100"
                TextBeforePageIndexBox="转到">
            </webdiyer:AspNetPager>
        </div>
        <asp:Label ID="lblMsg" runat="server" Text="" CssClass="red"></asp:Label>
    </div>
    </form>
</body>
</html>
